<template>
<div>2</div>
</template>
<script>
import {defineComponent} from 'vue';
import api from '@/util/request';
export default defineComponent({
  name: 'IndexView',
  props: {
    msg: String,
  },
  data() {
    return {
      visible: false,
    }
  },
  methods: {
    async getData() {
      api({
        url: '/',
        method: 'get',
        data: {},
      }).then((res) => {
        console.log(res);
      });
    },
  },
  mounted() {
    this.getData();
  },
});
</script>
